package com.fufan.mtsaas.modules.sysmgr.sydept.bo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 
 *
 * @author Liby
 * @date 2019-08-19
 */
@Data
@ApiModel(description = "部门结构树")
public class SYDeptPojo implements Serializable {
    @ApiModelProperty(value = "系统ID")
    private int id;
    @ApiModelProperty(value = "公司ID")
    private String companyID;
    @ApiModelProperty(value = "版本号")
    private String verNo;
    @ApiModelProperty(value = "上级部门ID")
    private String parID;
    @ApiModelProperty(value = "部门ID")
    private String subID;
    @ApiModelProperty(value = "部门名称")
    private String depName;
    @ApiModelProperty(value = "制造区分")
    private String spflag;
    @ApiModelProperty(value = "部门类型")
    private String depType;
    @ApiModelProperty(value = "备注")
    private String note;
    @ApiModelProperty(value = "部门路径")
    private String depPath;

    @ApiModelProperty(value = "排序")
    private int order;

    @ApiModelProperty(value = "负责人")
    private int manager;

    @ApiModelProperty(value = "所属区域")
    private String division;

    @ApiModelProperty(value = "创建人员")
    private String registeredPerson;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String registeredDT;

    @ApiModelProperty(value = "更新人员")
    private String updatedPerson;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updatedDT;

    @ApiModelProperty(value = "子部门信息")
    private List<SYDeptPojo> level;

}
